package com.zhangzhan.gulimallware.feign;

import com.zhangzhan.gulimallcommcon.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/6/19 3:42
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    /**
     * getName
     */
    @RequestMapping(value = "/gulimallproduct/skuinfo/getSkuName",method = RequestMethod.GET)
    //@RequiresPermissions("gulimallproduct:skuinfo:list")
    public R getSkuName(@RequestParam("skuId") Long skuId);

}
